﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mimoza.Common
{
    /// <summary>
    /// Base exception for project defined exceptions
    /// </summary>
    public class BaseException : Exception
    {
        public BaseException()
        {
        }

        public BaseException(string message, bool fromTransport) :
            base(message)
        {
            m_bFromTransport = fromTransport;
        }

        public bool IsFromTransport
        {
            get { return m_bFromTransport; }
            set { m_bFromTransport = value; }
        }

        private bool m_bFromTransport = false;
    }
}
